package CreationalPatterns.FactoryMethod.v2.factory;

import CreationalPatterns.FactoryMethod.v2.product.AbstractTransport;

public abstract class AbstractTransportFactory {
    abstract AbstractTransport createTransport();

    public void doDriver() {
        AbstractTransport transport = createTransport();
        transport.driver();
    }
}
